package com.smartao.base.module;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.smartao.core.orm.entity.BaseEntity;

/**
 * 模块实体类
 * @author Ricky
 */
@Entity
@Table(name="T_BASE_MODULE")
public class Module extends BaseEntity<Module>{

	private static final long serialVersionUID = 513712422960915326L;

	private String moduleKey;
	
	private String name;
	
	private Integer dsporder=0;
	
	private String description;

	public Module() {}

	public Module(String name, String moduleKey) {
		super();
		this.moduleKey = moduleKey;
		this.name = name;
	}
	
	public Module(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getModuleKey() {
		return moduleKey;
	}

	public void setModuleKey(String moduleKey) {
		this.moduleKey = moduleKey;
	}

	public Integer getDsporder() {
		return dsporder;
	}

	public void setDsporder(Integer dsporder) {
		this.dsporder = dsporder;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
